<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

	// Do not call this function _initLog() !
	protected function _initRegisterLogger() {
		$this->bootstrap('Log');

		if (!$this->hasPluginResource('Log')) {
			throw new Zend_Exception('Log not enabled in config.ini');
		}

		$logger = $this->getResource('Log');
		assert($logger != null);
		Zend_Registry::set('Zend_Log', $logger);
	}

}

